package com.leyuangame.redis;


import java.util.List;
import java.util.Set;

public interface JedisClient{
	public String set(String key, String value);
	public String get(String key);
	public Long hset(String key, String item, String value);
	public String hget(String key, String item);
	public Long incr(String key);
	public Long decr(String key);
	public Long expire(String key, int second);
	public Long ttl(String key);
	public Long hdel(String key, String item);
	public Long del(String key);
	public Boolean exists(String key);
	public Long lpush(String key,String... string);
	public Long llen(String key);
	public List<String> lrange(String key, Long begin, Long end);
    public Long sadd(String key, String... string);
    public Set<String> smembers(String key);
    public Long srem(String key, String... members);
}
